package com.zifeng.test_git_operate.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.GetMapping;

import org.springframework.web.bind.annotation.PostMapping;

import org.springframework.web.bind.annotation.GetMapping;


/**
 * @Classname MyController
 * @Description TODO
 * @Date 2025/9/20 10:43
 * @Created by 20996
 */
@Controller("/view")
public class MyController {

    @PostMapping
    public void test() {
        System.out.println("test_post_mapping");
    }

    @GetMapping
    public String index() {
        System.out.println("test_get_mapping");
        return "index";
    }
}
